.TH std::locale::operator==,operator!= 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::locale::operator==,operator!= \- std::locale::operator==,operator!=

.SH Synopsis
   Defined in header <locale>
   bool operator==( const locale& other ) const; \fB(1)\fP
   bool operator!=( const locale& other ) const; \fB(2)\fP \fI(until C++20)\fP

   Tests two locales for equality. Named locales are considered equal if their names
   are equal. Unnamed locales are considered equal if they are copies of each other.

   The != operator is synthesized from operator==. \fI(since C++20)\fP

.SH Parameters

   other - a std::locale object to compare

.SH Return value

   1) true if other is a copy of *this or has an identical name, false otherwise.
   2) false if other is a copy of *this or has an identical name, true otherwise.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   constructor   constructs a new locale
                 \fI(public member function)\fP
   name          returns the name of the locale or "*" if unnamed
                 \fI(public member function)\fP

.SH Category:
     * Todo no example
